import axios from "../tools/request";

// 添加合同
export function addContract(ops){
    return axios.post("/addcontract",ops)
} 

export function getContract(ops){
    console.log(ops);
    return axios.get("/getcontract",{params:ops})
} 

export function modContract(ops){
    return axios.post("/modcontract",ops)
} 

export function getName(ops){
    return axios.get("/getName",{
        params:ops
    })
} 